<template>
    <h1></h1>
</template>

<script setup lang='ts' name=''>
    //#region 引入组件
    import { reactive, toRefs, onMounted } from 'vue';

    //#endregion

    //#region 状态state
    const state = reactive<{
    loading: boolean;
    }>({
        loading: false,
    });
    const { loading } = toRefs(state);

    /** 页面加载完成钩子函数 */
    onMounted(() => {
        getHasDataList();
    });

    /** 获取数据函数 */
    const getHasDataList = async () => {
        //...
        loading.value = false;
    };

    //#endregion

    //#region 按钮方法回调
    //...
    //#endregion

</script>

<style scoped lang='scss'>
    
</style>
